____ _____ _ ____ _____ / ___| |_ _| / \ | _ \ |_ _| \___ \ | | / _ \ | |_) | | | ___) | | | / ___ \ | _ < | | |____/ |_| /_/ \_\ |_| \_\ |_| Build your first network (BYFN) end-to-end test Channel name : mychannel Creating channel... CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org1MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer0.org1.example.com:7051 2018-02-02 01:15:44.695 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-02 01:15:44.695 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-02 01:15:44.709 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 2018-02-02 01:15:44.713 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP 2018-02-02 01:15:44.713 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity 2018-02-02 01:15:44.714 UTC [msp] GetLocalMSP -> DEBU 006 Returning existing local MSP 2018-02-02 01:15:44.714 UTC [msp] GetDefaultSigningIdentity -> DEBU 007 Obtaining default signing identity 2018-02-02 01:15:44.714 UTC [msp/identity] Sign -> DEBU 008 Sign: plaintext: 0AA2060A074F7267314D53501296062D...53616D706C65436F6E736F727469756D 2018-02-02 01:15:44.714 UTC [msp/identity] Sign -> DEBU 009 Sign: digest: F01B6167852708FFCB450E655AD344E09EB6E3AC79D360B1B44DB6D2D4F6BFF0 2018-02-02 01:15:44.714 UTC [msp] GetLocalMSP -> DEBU 00a Returning existing local MSP 2018-02-02 01:15:44.714 UTC [msp] GetDefaultSigningIdentity -> DEBU 00b Obtaining default signing identity 2018-02-02 01:15:44.714 UTC [msp] GetLocalMSP -> DEBU 00c Returning existing local MSP 2018-02-02 01:15:44.714 UTC [msp] GetDefaultSigningIdentity -> DEBU 00d Obtaining default signing identity 2018-02-02 01:15:44.714 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0AD9060A1508021A0608C0F7CED30522...EB50EB2029399DAA272FF4392DD550E8 2018-02-02 01:15:44.714 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: 4856A6B2C92AC3582E478384FF21DDCA74D31CFA408C38E60D4B87B59F0B4DD0 2018-02-02 01:15:44.835 UTC [msp] GetLocalMSP -> DEBU 010 Returning existing local MSP 2018-02-02 01:15:44.835 UTC [msp] GetDefaultSigningIdentity -> DEBU 011 Obtaining default signing identity 2018-02-02 01:15:44.836 UTC [msp] GetLocalMSP -> DEBU 012 Returning existing local MSP 2018-02-02 01:15:44.836 UTC [msp] GetDefaultSigningIdentity -> DEBU 013 Obtaining default signing identity 2018-02-02 01:15:44.836 UTC [msp/identity] Sign -> DEBU 014 Sign: plaintext: 0AD9060A1508021A0608C0F7CED30522...4BE52D49EA2C12080A021A0012021A00 2018-02-02 01:15:44.836 UTC [msp/identity] Sign -> DEBU 015 Sign: digest: 4924588208691FDFA0AA253D94163C09298E0673EF5E43AECD67AD36142476EE 2018-02-02 01:15:44.840 UTC [channelCmd] readBlock -> DEBU 016 Got status: &{NOT_FOUND} 2018-02-02 01:15:44.840 UTC [msp] GetLocalMSP -> DEBU 017 Returning existing local MSP 2018-02-02 01:15:44.840 UTC [msp] GetDefaultSigningIdentity -> DEBU 018 Obtaining default signing identity 2018-02-02 01:15:44.853 UTC [channelCmd] InitCmdFactory -> INFO 019 Endorser and orderer connections initialized 2018-02-02 01:15:45.055 UTC [msp] GetLocalMSP -> DEBU 01a Returning existing local MSP 2018-02-02 01:15:45.055 UTC [msp] GetDefaultSigningIdentity -> DEBU 01b Obtaining default signing identity 2018-02-02 01:15:45.055 UTC [msp] GetLocalMSP -> DEBU 01c Returning existing local MSP 2018-02-02 01:15:45.055 UTC [msp] GetDefaultSigningIdentity -> DEBU 01d Obtaining default signing identity 2018-02-02 01:15:45.055 UTC [msp/identity] Sign -> DEBU 01e Sign: plaintext: 0AD9060A1508021A0608C1F7CED30522...5B8DFA5C551212080A021A0012021A00 2018-02-02 01:15:45.055 UTC [msp/identity] Sign -> DEBU 01f Sign: digest: 8E2AF06ADC0BB2A457B1B448E2B82E1CA9526EAA3FC551D5AD4C84958F16FEC5 2018-02-02 01:15:45.062 UTC [channelCmd] readBlock -> DEBU 020 Received block: 0 2018-02-02 01:15:45.062 UTC [main] main -> INFO 021 Exiting..... ===================== Channel "mychannel" is created successfully ===================== Having all peers join the channel... CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org1MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer0.org1.example.com:7051 2018-02-02 01:15:45.216 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-02 01:15:45.216 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-02 01:15:45.225 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 2018-02-02 01:15:45.225 UTC [msp/identity] Sign -> DEBU 004 Sign: plaintext: 0A9F070A5B08011A0B08C1F7CED30510...56BBA6D4258E1A080A000A000A000A00 2018-02-02 01:15:45.225 UTC [msp/identity] Sign -> DEBU 005 Sign: digest: CA35FDBB2FF34BB4189C33FCE5B820CA544F7C03D8843FB6916B1E04E4849D72 2018-02-02 01:15:45.323 UTC [channelCmd] executeJoin -> INFO 006 Successfully submitted proposal to join channel 2018-02-02 01:15:45.323 UTC [main] main -> INFO 007 Exiting..... ===================== PEER0 joined on the channel "mychannel" ===================== CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org1MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer1.org1.example.com:7051 2018-02-02 01:15:48.465 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-02 01:15:48.465 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-02 01:15:48.474 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 2018-02-02 01:15:48.474 UTC [msp/identity] Sign -> DEBU 004 Sign: plaintext: 0AA0070A5C08011A0C08C4F7CED30510...56BBA6D4258E1A080A000A000A000A00 2018-02-02 01:15:48.474 UTC [msp/identity] Sign -> DEBU 005 Sign: digest: 4E5368CA90883546A20EC273719B1B4D23191B05162845E6D893E06341EA8FD8 2018-02-02 01:15:48.564 UTC [channelCmd] executeJoin -> INFO 006 Successfully submitted proposal to join channel 2018-02-02 01:15:48.564 UTC [main] main -> INFO 007 Exiting..... ===================== PEER1 joined on the channel "mychannel" ===================== CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org2MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer0.org2.example.com:7051 2018-02-02 01:15:51.690 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-02 01:15:51.690 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-02 01:15:51.698 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 2018-02-02 01:15:51.698 UTC [msp/identity] Sign -> DEBU 004 Sign: plaintext: 0AA0070A5C08011A0C08C7F7CED30510...56BBA6D4258E1A080A000A000A000A00 2018-02-02 01:15:51.698 UTC [msp/identity] Sign -> DEBU 005 Sign: digest: 21F651C25551DF4523E41959097E71D599193AD9B6EA266D6FA7C0A0A5183EE7 2018-02-02 01:15:51.811 UTC [channelCmd] executeJoin -> INFO 006 Successfully submitted proposal to join channel 2018-02-02 01:15:51.811 UTC [main] main -> INFO 007 Exiting..... ===================== PEER2 joined on the channel "mychannel" ===================== CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org2MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer1.org2.example.com:7051 2018-02-02 01:15:54.935 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-02 01:15:54.935 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-02 01:15:54.942 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 2018-02-02 01:15:54.943 UTC [msp/identity] Sign -> DEBU 004 Sign: plaintext: 0AA0070A5C08011A0C08CAF7CED30510...56BBA6D4258E1A080A000A000A000A00 2018-02-02 01:15:54.943 UTC [msp/identity] Sign -> DEBU 005 Sign: digest: EAA782327842DBDB0083AD5E2B3D82684C04590F806CB75ACDB8EC3F5460377D 2018-02-02 01:15:55.029 UTC [channelCmd] executeJoin -> INFO 006 Successfully submitted proposal to join channel 2018-02-02 01:15:55.029 UTC [main] main -> INFO 007 Exiting..... ===================== PEER3 joined on the channel "mychannel" ===================== Updating anchor peers for org1... CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org1MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer0.org1.example.com:7051 2018-02-02 01:15:58.162 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-02 01:15:58.162 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-02 01:15:58.170 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 2018-02-02 01:15:58.173 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP 2018-02-02 01:15:58.173 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity 2018-02-02 01:15:58.174 UTC [msp] GetLocalMSP -> DEBU 006 Returning existing local MSP 2018-02-02 01:15:58.174 UTC [msp] GetDefaultSigningIdentity -> DEBU 007 Obtaining default signing identity 2018-02-02 01:15:58.174 UTC [msp/identity] Sign -> DEBU 008 Sign: plaintext: 0AA2060A074F7267314D53501296062D...2A0641646D696E732A0641646D696E73 2018-02-02 01:15:58.174 UTC [msp/identity] Sign -> DEBU 009 Sign: digest: 28D13A8D865E5891C1A94023A38111AA3D9F2A64523FD128C87C9138E3A16DC1 2018-02-02 01:15:58.174 UTC [msp] GetLocalMSP -> DEBU 00a Returning existing local MSP 2018-02-02 01:15:58.174 UTC [msp] GetDefaultSigningIdentity -> DEBU 00b Obtaining default signing identity 2018-02-02 01:15:58.174 UTC [msp] GetLocalMSP -> DEBU 00c Returning existing local MSP 2018-02-02 01:15:58.174 UTC [msp] GetDefaultSigningIdentity -> DEBU 00d Obtaining default signing identity 2018-02-02 01:15:58.174 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0AD9060A1508021A0608CEF7CED30522...40BC61FEE74A9FC9505B50D5A7241502 2018-02-02 01:15:58.174 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: E21651A30B80A2070E7DBAB78CF2497226282F05E04F0AAC2E5E9D0903E34CA9 2018-02-02 01:15:58.197 UTC [main] main -> INFO 010 Exiting..... ===================== Anchor peers for org "Org1MSP" on "mychannel" is updated successfully ===================== Updating anchor peers for org2... CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org2MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer0.org2.example.com:7051 2018-02-02 01:16:01.362 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-02 01:16:01.362 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-02 01:16:01.370 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 2018-02-02 01:16:01.373 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP 2018-02-02 01:16:01.373 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity 2018-02-02 01:16:01.373 UTC [msp] GetLocalMSP -> DEBU 006 Returning existing local MSP 2018-02-02 01:16:01.373 UTC [msp] GetDefaultSigningIdentity -> DEBU 007 Obtaining default signing identity 2018-02-02 01:16:01.373 UTC [msp/identity] Sign -> DEBU 008 Sign: plaintext: 0AA2060A074F7267324D53501296062D...2A0641646D696E732A0641646D696E73 2018-02-02 01:16:01.373 UTC [msp/identity] Sign -> DEBU 009 Sign: digest: 8B7A96F61B5EE99EBA601A314501FC5F3755525CD350F545B5BA3ABBC089F1F8 2018-02-02 01:16:01.373 UTC [msp] GetLocalMSP -> DEBU 00a Returning existing local MSP 2018-02-02 01:16:01.373 UTC [msp] GetDefaultSigningIdentity -> DEBU 00b Obtaining default signing identity 2018-02-02 01:16:01.373 UTC [msp] GetLocalMSP -> DEBU 00c Returning existing local MSP 2018-02-02 01:16:01.374 UTC [msp] GetDefaultSigningIdentity -> DEBU 00d Obtaining default signing identity 2018-02-02 01:16:01.374 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0AD9060A1508021A0608D1F7CED30522...3D4C03E6B862023B86173EE5B9928A1B 2018-02-02 01:16:01.374 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: AD0BB044B9BD272870A73E8FB1C97D2B07303A55668840806B34DD4E9AF357EA 2018-02-02 01:16:01.442 UTC [main] main -> INFO 010 Exiting..... ===================== Anchor peers for org "Org2MSP" on "mychannel" is updated successfully ===================== Installing chaincode on org1/peer0... CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org1MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer0.org1.example.com:7051 2018-02-02 01:16:04.564 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-02 01:16:04.564 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-02 01:16:04.564 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default escc 2018-02-02 01:16:04.564 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 004 Using default vscc 2018-02-02 01:16:04.564 UTC [chaincodeCmd] getChaincodeSpec -> DEBU 005 java chaincode disabled 2018-02-02 01:16:04.717 UTC [golang-platform] getCodeFromFS -> DEBU 006 getCodeFromFS github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 2018-02-02 01:16:04.958 UTC [golang-platform] func1 -> DEBU 007 Discarding GOROOT package fmt 2018-02-02 01:16:04.958 UTC [golang-platform] func1 -> DEBU 008 Discarding provided package github.com/hyperledger/fabric/core/chaincode/shim 2018-02-02 01:16:04.958 UTC [golang-platform] func1 -> DEBU 009 Discarding provided package github.com/hyperledger/fabric/protos/peer 2018-02-02 01:16:04.958 UTC [golang-platform] func1 -> DEBU 00a Discarding GOROOT package strconv 2018-02-02 01:16:04.962 UTC [golang-platform] GetDeploymentPayload -> DEBU 00b done 2018-02-02 01:16:04.962 UTC [container] WriteFileToPackage -> DEBU 00c Writing file to tarball: src/github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02/chaincode_example02.go 2018-02-02 01:16:04.968 UTC [container] WriteFileToPackage -> DEBU 00d Writing file to tarball: src/github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02/chaincode_example02_test.go 2018-02-02 01:16:04.972 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0AA0070A5C08031A0C08D4F7CED30510...1B7DFE1B0000FFFFF19919A700300000 2018-02-02 01:16:04.972 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: 3B2B6FA572CF64AA2CC443D5921540185DD1951F0BA8477E0B7371D2DB9CEBB1 2018-02-02 01:16:04.983 UTC [chaincodeCmd] install -> DEBU 010 Installed remotely response: 2018-02-02 01:16:04.983 UTC [main] main -> INFO 011 Exiting..... ===================== Chaincode is installed on remote peer PEER0 ===================== Install chaincode on org2/peer2... CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org2MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer0.org2.example.com:7051 2018-02-02 01:16:05.121 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-02 01:16:05.121 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-02 01:16:05.121 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default escc 2018-02-02 01:16:05.121 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 004 Using default vscc 2018-02-02 01:16:05.121 UTC [chaincodeCmd] getChaincodeSpec -> DEBU 005 java chaincode disabled 2018-02-02 01:16:05.167 UTC [golang-platform] getCodeFromFS -> DEBU 006 getCodeFromFS github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 2018-02-02 01:16:05.331 UTC [golang-platform] func1 -> DEBU 007 Discarding GOROOT package fmt 2018-02-02 01:16:05.331 UTC [golang-platform] func1 -> DEBU 008 Discarding provided package github.com/hyperledger/fabric/core/chaincode/shim 2018-02-02 01:16:05.331 UTC [golang-platform] func1 -> DEBU 009 Discarding provided package github.com/hyperledger/fabric/protos/peer 2018-02-02 01:16:05.331 UTC [golang-platform] func1 -> DEBU 00a Discarding GOROOT package strconv 2018-02-02 01:16:05.336 UTC [golang-platform] GetDeploymentPayload -> DEBU 00b done 2018-02-02 01:16:05.336 UTC [container] WriteFileToPackage -> DEBU 00c Writing file to tarball: src/github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02/chaincode_example02.go 2018-02-02 01:16:05.342 UTC [container] WriteFileToPackage -> DEBU 00d Writing file to tarball: src/github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02/chaincode_example02_test.go 2018-02-02 01:16:05.346 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0AA0070A5C08031A0C08D5F7CED30510...1B7DFE1B0000FFFFF19919A700300000 2018-02-02 01:16:05.346 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: 688342B5AA9156CCA987A73FC0D77C5B358AC02A60EBBEEE6837636CFEFD83B1 2018-02-02 01:16:05.355 UTC [chaincodeCmd] install -> DEBU 010 Installed remotely response: 2018-02-02 01:16:05.355 UTC [main] main -> INFO 011 Exiting..... ===================== Chaincode is installed on remote peer PEER2 ===================== Instantiating chaincode on org2/peer2... CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org2MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer0.org2.example.com:7051 2018-02-02 01:16:05.461 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-02 01:16:05.461 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-02 01:16:05.470 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default escc 2018-02-02 01:16:05.470 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 004 Using default vscc 2018-02-02 01:16:05.470 UTC [chaincodeCmd] getChaincodeSpec -> DEBU 005 java chaincode disabled 2018-02-02 01:16:05.471 UTC [msp/identity] Sign -> DEBU 006 Sign: plaintext: 0AAB070A6708031A0C08D5F7CED30510...324D53500A04657363630A0476736363 2018-02-02 01:16:05.471 UTC [msp/identity] Sign -> DEBU 007 Sign: digest: 68A66B5DBBAC1E2FABF0E48E89EA05568BD13CAD02CD8CDE619FA670392A4A6C Error: Error endorsing chaincode: rpc error: code = Unknown desc = timeout expired while starting chaincode mycc:1.0(networkid:dev,peerid:peer0.org2.example.com,tx:8d1516d2a840bcf2c28caa30c5e7bd304fa68cabfd4cdec3d425f91cb55e6b8d) Usage: peer chaincode instantiate [flags] Flags: -C, --channelID string The channel on which this command should be executed --collections-config string The file containing the configuration for the chaincode's collection -c, --ctor string Constructor message for the chaincode in JSON format (default "{}") -E, --escc string The name of the endorsement system chaincode to be used for this chaincode -l, --lang string Language the chaincode is written in (default "golang") -n, --name string Name of the chaincode -P, --policy string The endorsement policy associated to this chaincode -v, --version string Version of the chaincode specified in install/instantiate/upgrade commands -V, --vscc string The name of the verification system chaincode to be used for this chaincode Global Flags: --cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint --certfile string Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint --clientauth Use mutual TLS when communicating with the orderer endpoint --keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint --logging-level string Default logging level and overrides, see core.yaml for full syntax -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint --transient string Transient map of arguments in JSON encoding !!!!!!!!!!!!!!! Chaincode instantiation on PEER2 on channel 'mychannel' failed !!!!!!!!!!!!!!!! ========= ERROR !!! FAILED to execute End-2-End Scenario ===========